class _pathname(object):
    def get_path(self,path_list):
        path_dict = {'index':'主页','zfq':"主页",'login':'登录','myMeg':'个人空间','user':'个人信息','showData':'最新数据','school': '校园分类',
                     'society':'社会分类', 'all': '全部分类','details':'详细数据' ,'policy': '最新政策','contact':'联系我们',
                     'send':'详情','salary':'详情页','analysis':'就业分析',
                     'ExhibitChart':'信息图表显示','Entire':'所有','EstablishChart':'图表展示'
                     }
        path_all_dict = {'index':'/index','login':'/login','myMeg':'#','user':'/index/myMeg/user','showData':'#',
                         'school': '/index/showData/school','society':'/index/showData/society',
                         'all': '/index/showData/all','details':'详细数据' ,'policy': '/index/policy',
                         'contact':'/index/contact','send':'/index/policy/send',
                         'salary':'/index/showData/all/salary','analysis':'/index/analysis',
                         'Entire':'/zfq/ExhibitChart/Entire','ExhibitChart':'/zfq/ExhibitChart','EstablishChart':'/zfq/EstablishChart'

                         }
        path = {}

        for i in range(len(path_list)):
            for key in path_dict:
                if(key == path_list[i]):
                    for path_all in path_all_dict:
                        if(path_all == path_list[i]):
                            path[path_dict[key]] = path_all_dict[path_all]
        print(path)
        return path
